home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / moni / Scout-src.lha / netinclude / netinet / in_systm.h next >
Encoding:
C/C++ Source or Header  |  2002-02-13  |  864 b   |  26 lines

  1. #ifndef NETINET_IN_SYSTM_H
  2. #define NETINET_IN_SYSTM_H \
  3.        "$Id: in_systm.h,v 1.1.1.1 2001/11/26 22:21:17 tboeckel Exp $"
  4. /*
  5.  *      Miscellaneous internetwork definitions for kernel.
  6.  *
  7.  *      Copyright © 1994 AmiTCP/IP Group,
  8.  *                       Network Solutions Development, Inc.
  9.  *                       All rights reserved.
  10.  */
  11.  
  12. /*
  13.  * Network types.
  14.  *
  15.  * Internally the system keeps counters in the headers with the bytes
  16.  * swapped so that VAX instructions will work on them.  It reverses
  17.  * the bytes before transmission at each protocol level.  The n_ types
  18.  * represent the types with the bytes in ``high-ender'' order.
  19.  */
  20. typedef u_short n_short;        /* short as received from the net */
  21. typedef u_long    n_long;            /* long as received from the net */
  22.  
  23. typedef    u_long    n_time;            /* ms since 00:00 GMT, byte rev */
  24.  
  25. #endif /* !NETINET_IN_SYSTM_H */
  26.